#ifndef KEYS_H
#define KEYS_H

#include <QtGui>

namespace Ui {
    class keys;
    class sh_key;
}

class sh_key : public QLineEdit
{
    Q_OBJECT

protected:
void keyPressEvent ( QKeyEvent * event ) ;

};


class keys : public QDialog
{
    Q_OBJECT

public:
    explicit keys(QWidget *parent = 0);
    ~keys();
private:
    sh_key *nkey[21];
private slots:
    void hk(QString);
    void save();

};

#endif // KEYS_H
